<%@ Control Language="C#" AutoEventWireup="true" Inherits="CMS.Web.UI.UserControls.Download" %>
<asp:UpdatePanel ID="upDownload" runat="server">
    <ContentTemplate>
        <table>
        <tr>
            <td>..</td>
            <td></td>
            <td><a href="?Page=<%= Page.PageID %>&CurrentFolder=<%= ParentFolderQueryString %>"><img src="/Pics/CMS/FolderClosed.png" alt="Folder" /></a></td>
        </tr>
        <asp:Repeater ID="repeaterDownloadFolder" runat="server">
            <ItemTemplate>
                <tr>
                    <td><%# Eval("FolderName") %></td>
                    <td><%# Eval("FolderDescription") %></td>
                    <td><a href="?Page=<%= Page.PageID %>&CurrentFolder=<%# Eval("DownloadFolderID") %>"><img src="/Pics/CMS/FolderClosed.png" alt="Folder" /></a></td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
        <asp:Repeater ID="repeaterDownload" runat="server">
            <ItemTemplate>
                <tr>
                    <td><%# Eval("FileName") %></td>
                    <td><%# Eval("FileDescription") %></td>
                    <td><a href="<%# Eval("FilePath") %>"><img src="/Pics/CMS/BlankDocument.png" alt="Download" /></a></td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
